package com.roncoo.student.stu.dao;

import com.roncoo.student.stu.entity.UserFavorites;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jl
 * @since 2021-04-09
 */
public interface UserFavoritesMapper extends BaseMapper<UserFavorites> {

    List<UserFavorites> findAll(Integer userId);

    List<UserFavorites> findUserAndCourse(Integer userId,Integer courseNo);
}
